package com.hotline.communication.service.impl;

import com.hotline.communication.mapper.WorkTimeMapper;
import com.hotline.communication.service.WorkTimeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class WorkTimeServiceImpl implements WorkTimeService {

    @Resource
    private WorkTimeMapper workTimeMapper;

    @Override
    public Integer count(String orgId) {

        log.info("根据机构ID查询工作时间[]orgId:{}",orgId);

        return workTimeMapper.count(orgId);
    }
}
